package vip.xiaonuo.supplier.modular.finance.account.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.finance.account.entity.SupplierAccount;
import vip.xiaonuo.supplier.modular.finance.account.param.SupplierAccountAddParam;
import vip.xiaonuo.supplier.modular.finance.account.param.SupplierAccountEditParam;
import vip.xiaonuo.supplier.modular.finance.account.param.SupplierAccountIdParam;
import vip.xiaonuo.supplier.modular.finance.account.param.SupplierAccountPageParam;

import java.util.List;

/**
 * 结算账户Service接口
 *
 * @author Mr.wu
 * @date  2025/03/17 17:17
 **/
public interface SupplierAccountService extends IService<SupplierAccount> {

    /**
     * 获取结算账户分页
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     */
    Page<SupplierAccount> page(SupplierAccountPageParam supplierAccountPageParam);

    /**
     * 添加结算账户
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     */
    void add(SupplierAccountAddParam supplierAccountAddParam);

    /**
     * 编辑结算账户
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     */
    void edit(SupplierAccountEditParam supplierAccountEditParam);

    /**
     * 删除结算账户
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     */
    void delete(List<SupplierAccountIdParam> supplierAccountIdParamList);

    /**
     * 获取结算账户详情
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     */
    SupplierAccount detail(SupplierAccountIdParam supplierAccountIdParam);

    /**
     * 获取结算账户详情
     *
     * @author Mr.wu
     * @date  2025/03/17 17:17
     **/
    SupplierAccount queryEntity(String id);
}
